package cn.cai.pethome.dept.service;

import cn.cai.pethome.base.utils.ResultBean;
import cn.cai.pethome.dept.domain.Department;
import cn.cai.pethome.dept.query.DepartmentQuery;

import java.awt.image.RescaleOp;
import java.util.List;

public interface IDepartmentService {

    ResultBean<Department> queryAll(DepartmentQuery query); //高级查询

    Department findById(Long id);//根据id查询

    void addDept(Department department);//添加数据

    void updateDept(Department department);//修改数据

    void deleteById(Long id);//根据id删除数据
}
